<div id="order-pay-dialog" class="order-pay-dialog-c" style="width:380px;">
	<h3>
		<span id="order-pay-dialog-close" class="close" onclick="return X.boxClose();">关闭</span>
		同步设置 —— 
		<?php if($web == 'renren'){?>
			人人网
		<?php } else if($web == 'sina') { ?>
			新浪微博
		<?php } else if($web == 'kaixin001') { ?>
			开心网
		<?php } else if($web == 'douban') { ?>
			豆瓣网
		<?php }?>
	</h3>
	<div style="overflow-x:hidden;padding:10px;">
		<?php if(($web == 'sina') || ($web == 'douban')){?>
			<p>提醒：</p>
			<p>1.点击按钮“验证并绑定”，进入授权页面。</p>
			<p>2.在授权页面中，点击“同意”进行授权。</p>
			<p>
				<?php if($session_authUrl=Session::Get('authUrl',true)){?>
				<script type="text/javascript">
					function gotoUrl(){
						window.location.href = "<?php echo $session_authUrl; ?>";
					}
				</script>
				<input type="button" value="验证并绑定" class="formbutton" onclick="return gotoUrl();"/>
				<?php } else { ?>
				<input type="button" value="系统调整中，暂时不能绑定" class="formbutton" onclick="return X.boxClose();"/>
				<?php }?>
			</p>
		<?php } else if(($web == 'renren') || ($web == 'kaixin001')) { ?>
			<p>“乐享网络”采用加密技术保障您帐号的安全。</p>
			<form method="post" action="/account/ajax/sync_settings.php?web=<?php echo $web; ?>&action=local_sync" class="validator">
				<table width="96%" class="coupons-table">
					<tr><td width="80" nowrap><b>账号：</b></td><td><input type="text" name="email" value="<?php echo $sync['email']; ?>" require="true" datatype="require" class="f-input" /></td></tr>
					<tr><td width="80" nowrap><b>密码：</b></td><td><input type="password" name="password" value="<?php echo $sync['password']; ?>" require="true" datatype="require" class="f-input" /></td></tr>
					<tr><td colspan="2" height="10">&nbsp;</td></tr>
					<tr><td></td><td><input type="submit" value="验证并绑定" class="formbutton" /></td></tr>
				</table>
			</form>
		<?php }?>
	</div>
</div>